/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
    body {
      font-family: "Segoe UI", sans-serif;
      margin: 0;
      background: #f9f9f9;
    }

 header {
      background: #11005c;
      color: #fff;
      padding: 20px;
      position: sticky;
      top: 0;
      z-index: 999;
      display: flex;
      justify-content: space-between;
      align-items: center;
}

    .logo {
      font-size: 28px;
      font-weight: bold;
      color: #9f7fb2;
    }

    /* Hamburger */
    .menu-toggle {
      display: none;
    }

    .hamburger {
      width: 30px;
      height: 22px;
      cursor: pointer;
      position: relative;
      z-index: 1001;
    }

    .hamburger span {
      background: white;
      position: absolute;
      height: 4px;
      width: 100%;
      border-radius: 2px;
      transition: 0.3s;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 9px; }
    .hamburger span:nth-child(3) { top: 18px; }

    /* Sidebar */
    .sidebar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: #11005c;
      color: white;
      padding-top: 80px;
      transition: 0.4s ease;
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .sidebar ul {
      list-style: none;
      padding: 0;
      text-align: center;
    }

    .sidebar ul li {
      padding: 20px;
      font-size: 24px;
    }

    .sidebar ul li a {
      color: white;
      text-decoration: none;
      transition: 0.3s;
    }

    .sidebar ul li a:hover {
      color: #ffc107;
    }

    /* Toggle Logic */
    #menu-toggle:checked + .hamburger + .sidebar {
      left: 0;
    }

    #menu-toggle:checked + .hamburger span:nth-child(1) {
      transform: rotate(45deg);
      top: 9px;
    }

    #menu-toggle:checked + .hamburger span:nth-child(2) {
      opacity: 0;
    }

    #menu-toggle:checked + .hamburger span:nth-child(3) {
      transform: rotate(-45deg);
      top: 9px;
    }

    /* Desktop view: Sidebar hidden, normal nav visible */
    @media (min-width: 768px) {
      .hamburger {
        display: none;
      }
      .sidebar {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: none;
        color: inherit;
        display: block;
      }
      .sidebar ul {
        display: flex;
        justify-content: flex-end;
        align-items: center;
      }
      .sidebar ul li {
        padding: 0 20px;
        font-size: 18px;
      }
    }

/* Hero Section */
.hero {
  background: linear-gradient(rgba(30, 22, 137, 0.7), rgba(179, 179, 184, 0.7)),
    url('https://source.unsplash.com/1600x900/?technology,office') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  animation: fadeIn 1.5s ease-in-out;
  padding: 0 20px;
}
.hero-content h2 {
  font-size: 3rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Services */
.services {
  padding: 60px 20px;
  text-align: center;
}
.service-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.service-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 0 10px rgba(243, 242, 242, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2196F3, #E91E63, #FFC107);
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* About */
.about {
  padding: 80px 20px;
  background: #e3f2fd;
  text-align: center;
}

/* Contact */
.contact {
  padding: 60px 20px;
  text-align: center;
}
.contact form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
  gap: 15px;
}
.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact button {
  padding: 12px;
  background: #0d47a1;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: background 0.3s ease;
}
.contact button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, #00bcd4 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  z-index: 0;
}
.contact button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
.contact button:hover {
  background-color: #1565c0;
}

/* Footer */
footer {
  background: #0d47a1;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 30px;
}
.footer-container {
  max-width: 960px;
  margin: 0 auto;
}
.footer-container a {
  color: #ccc;
  margin: 0 0.5rem;
  transition: color 0.3s;
}
.footer-container a:hover {
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin-top: 10px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .service-boxes {
    flex-direction: column;
    align-items: center;
  }
}
  